@echo off
set CSC=C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe
rem set CSC=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe
%CSC% /target:exe /out:html2jpg.exe /reference:System.Drawing.dll /reference:System.Windows.Forms.dll /define:JPEG html2png.cs
%CSC% /target:exe /out:html2png.exe /reference:System.Drawing.dll /reference:System.Windows.Forms.dll /define:PNG html2png.cs